IsSpindownDisabled
You can use theIsSpindownDisabled
function to find out whether automatic hard disk spindown is enabled.
Boolean IsSpindownDisabled();DESCRIPTION
TheIsSpindownDisabled
function returns a Booleantrue
if automatic hard disk spindown is disabled, orfalse
if spindown is enabled.ASSEMBLY-LANGUAGE INFORMATION
The trap is_PowerMgrDispatch
($A09E). The selector value forIsSpindownDisabled
is 8 ($08) in the low word of register D0. The Boolean result is passed in the low byte of register D0.